<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>Document</title>
</head>

<body>
	<script type="module">
		import {merge1, merge2} from '../dist/index.js'

		// let res = merge({ a: [1, 2] }, { a: [3, 4] }, undefined, { c: 1, d: [1, 2, 3]}, { d: ['abc']}, null)

		let res = merge2({a: [1, 2]}, {a: {aa: 1}}, {a: [1]})

		console.log(res);
	</script>
</body>

</html>